﻿Public Class Comment
    <System.Xml.Serialization.XmlElement("commentDate")>
    Public dateMadeString As String
    ''' <summary>
    ''' Date the comment was made
    ''' </summary>
    ''' <remarks>times are CST/CDT</remarks>
    Public ReadOnly Property DateMade As DateTime
        Get
            Return DateTime.ParseExact(dateMadeString, "yyyy-MM-dd HH:mm:ss", System.Globalization.CultureInfo.InvariantCulture)
        End Get
    End Property

    ''' <summary>
    ''' Commenter's COLOURlovers.com Username
    ''' </summary>
    <System.Xml.Serialization.XmlElement("commentUserName")>
    Public Property UserName As String

    ''' <summary>
    ''' And finally, the comments!
    ''' </summary>
    <System.Xml.Serialization.XmlElement("commentComments")>
    Public Property Body As String
End Class
